package com.boardgame.gwt.entity;

import com.boardgame.users.entity.PlayerInfo;
import lombok.Data;

import javax.persistence.*;

/**
 * 大西铁路玩家信息
 */
@Data
@Entity
@Table(name = "gwt_player_info")
public class GwtPlayerDbInfo extends BaseDbInfo {

    @Column(name = "user_name", nullable = true)
    private String userName;

    /**
     * 捐赠级别
     */
    @Column(name = "paygrade", nullable = true)
    private int paygrade;


    /**
     * 颜色
     */
    @Column(name = "color", nullable = true)
    private String color;

    /**
     * 移动步数
     */
    private int moveSpaces;

}
